         {include file='header.html'}
        <link type="text/css" href="../../page/css/reset.css" rev="stylesheet" rel="stylesheet">
        <link type="text/css" href="../../page/css/kaoqin.css" rev="stylesheet" rel="stylesheet">
        <link type="text/css" href="{$common_domain}/tools/datepicker/jquery.ui.theme.css" rel="stylesheet" />
        <link type="text/css" href="{$common_domain}/tools/datepicker/jquery.ui.datepicker.css" rel="stylesheet" />
        <link type="text/css" href="{$common_domain}/tools/datepicker/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
        <script type="text/javascript" src="{$common_domain}/tools/datepicker/jquery-1.7.2.js"></script>
        <script type="text/javascript" src="{$common_domain}/tools/datepicker/jquery.ui.core.js"></script>
        <script type="text/javascript" src="{$common_domain}/tools/datepicker/jquery.ui.widget.js"></script>
        <script type="text/javascript" src="{$common_domain}/tools/datepicker/jquery.ui.datepicker.js"></script>
        <script type="text/javascript" src="{$common_domain}/tools/datepicker/DateTimePicker.js"></script>
            <div id="content">
                <i class="con_l">&nbsp;</i>
                <i class="con_r">&nbsp;</i>
                <div class="main">
                    <!--我的年假begin-->
                    <div class="blank"></div>

                    <div class="div_date">
                        <i class="i_l">&nbsp;</i>
                        <span class="sp_c">{$page.curr_time}</span>
                        <i class="i_r">&nbsp;</i>
                        <div class="clear"></div>
                    </div>


                    <div class="titname">
                        <a href="/">每日考勤</a>
                        <a href="/attendance/">考勤明细</a>
                        <a href="/myannual/">我的年假</a>
                        <a href="/myapply/" class="selected">我的申请</a>
                    </div>
                    <ul class="p p2">
                        <li class="s hi">
                        <form name="form" action="" method="get">
                            <select name="status">
                                <option value="">申请状态</option>
                                <option value="未审核" {if $keep.status eq '未审核'} selected="selected"{/if}>未审核</option>
                                <option value="已批准"{if $keep.status eq '已批准'} selected="selected"{/if}>已批准</option>
                                <option value="已驳回"{if $keep.status eq '已驳回'} selected="selected"{/if}>已驳回</option>
                                <option value="已撤销"{if $keep.status eq '已撤销'} selected="selected"{/if}>已撤销</option>
                            </select>
                            <select name="type">
                                <option value="">申请类型</option>
                                {foreach from=$type key=kt item=kv}
                                <option value="{$kv}"{if $keep.type eq $kv} selected="selected"{/if}>{$kv}</option>
                                {/foreach}
                            </select>
                            <input style="margin-left: 10px;" class="btn" type="submit" value="查询" />
                         </form>
                        <div class="clear"></div>
                        </li>
                        <li class="s fir">
                            <i class="i0 i21">申请类型</i>
                            <i class="i0 i41">时间</i>
                            <i class="i0 i31">审批人</i>
                            <i class="i0 i51">原因</i>
                            <i class="i0 i61">提交时间</i>
                            <i class="i0 i71">操作</i>
                        </li>
                        {if $list}
                        {foreach from=$list key=k item=v}
                        <li class="s {if $k eq $count}last{/if}">
                            <i class="i0 i21">{$v.type}&nbsp;</i>
                            <i class="i0 i41">{$v.contact_time}&nbsp;</i>
                            <i class="i0 i31">
                                {$v.passinfo}&nbsp;
                            </i>
                            <i class="i0 i51">{$v.leave_reason}&nbsp;</i>
                            <i class="i0 i61">{$v.apply_time}&nbsp;</i>
                            <i class="i0 i71"><a href="/applydetail/?id={$v.id}">详情</a>&nbsp;
                            {if $v.need && $v.status!='已撤销'}<a href="/proof/?id={$v.id}">[上传证明]</a>&nbsp;{/if}
                            {if $v.can_cancel}<a href="?do=cancel&id={$v.id}">撤销</a>{/if}</i>
                        </li>
                        {/foreach}
                        {else}
                        <li class="s hi" style="text-align:center;padding-top:30px;">
                        <span>未找到任何申请</span>
                            </li>
                        {/if}
                </ul>
                {if $multipage}
                <div class="p p3" style="text-align:right;">
                    {include file='multipage.html'}
                </div>
                {else}
                <div class="p p3" style="border-right:0;border-left:0;border-bottom:0;"></div>
                {/if}
                    <!--我的年假end-->



                    <!--我的申请begin-->
                    <!--我的年假end-->
            </div>
        </div>
    </div>
</body>
</html>
